import { IntersectionType, OmitType, PartialType } from "@nestjs/swagger";

import { QueryDto } from "@/core/dto/query.dto";

import { CreateFileDirDto } from "./create-file-dir.dto";

export class QueryFileDirDto extends IntersectionType(
    QueryDto,
    PartialType(OmitType(CreateFileDirDto, ["isFixed", "sort", "remark", "pid"] as const))
) {}
